#ifndef _zf_driver_uvc_h
#define _zf_driver_uvc_h


#include "zf_common_typedef.h"

#define UVC_WIDTH   160
#define UVC_HEIGHT  120
#define UVC_FPS     60

extern int VALUE_Key;
extern int threshold_value;    // 阈值（0-255）
extern double contrast;   // 对比度系数 (>1增强 <1减弱)
extern int brightness;     // 亮度增量 (正值增亮，负值变暗)
int8 uvc_camera_init(const char *path);
int8 wait_image_refresh();
int ShiBie_YanSe(int Color);

extern uint8_t *rgay_image;
#endif
